package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("cgnci_message_receiver")
@ApiModel(value = "CgnciMessageReceiverDO对象", description = "消息接收表")
public class CgnciMessageReceiverDO {

    @ApiModelProperty("接收ID")
    @TableId(value = "receiver_id", type = IdType.AUTO)
    private Long receiverId;

    @ApiModelProperty("消息ID")
    private Long messageId;

    @ApiModelProperty("接收人")
    private String receiver;

    @ApiModelProperty("阅读状态(Y-已读 N-未读)")
    private String readStatus;

    @ApiModelProperty("阅读时间")
    private Date readTime;

    @ApiModelProperty("是否删除(Y/N)")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;
} 